home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
chasm.arc
/
COM2DATA.DOC
< prev
next >
Wrap
Text File
|
1983-06-29
|
942b
|
32 lines
COM2DATA
Command
-------------------------------------------
Purpose: Converts a file of machine language
code into a file of BASIC DATA
statements. The data file may be
merged into BASIC programs, thus
simplifying the process of using
machine language subroutines in
BASIC.
Format: BASIC COM2DATA
Type: Internal External
***
Remarks: COM2DATA will prompt for the names
of input and output files, and the
line number to give to the first
DATA statement. When finished,
COM2DATA returns you to DOS.
Due to the way BASIC handles files,
COM2DATA will invariably produce a
multiple of 128 data values.
Generally, the actual program will
be followed with a number of
spurious &H00's, which may be
deleted after merging.